site.getSelection()

Availability 3.0
Description Determines which files are currently selected in the Site window.
Arguments None.
Returns An array of strings representing the paths of the selected files and folders, expressed as file:// URLs, or an empty array if no files or folders are selected.
Enabler None.